<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      th:replace="layout/commonlayout(title='实验室日志信息')"><!-- layout文件路径-->
<th:block th:fragment="css">
    <!--如果没有内容，请保持 -->
    <!--DataTables [ OPTIONAL ]-->
    <link rel="stylesheet" href="/plugins/ztree/css/zTreeStyle/zTreeStyle.css">
</th:block>

<div th:fragment="content">
    <!--Page content-->
    <!--===================================================-->
    <div id="page-content">
        <div class="panel">
            <div class="panel-body">
                <input  type="hidden" id="hidId" />

                <form  id="formLabLogInfo" class="smart-form" method="get" action="">
                    <fieldset>
                        <input  type="hidden" name="id" />


                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>班级名称:</label>
                                    <input id="className" name="className" class="form-control"  type="text" readonly>
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>班级人数:</label>
                                    <input id="classNumber" name="classNumber" class="form-control"  type="text" readonly>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>课程名称:</label>
                                    <input type="text" class="form-control" placeholder="" id="courseName" name="courseName" readonly>
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>学期名:</label>
                                    <input id="termName" name="termName" class="form-control"  type="text" readonly>
                                </div>
                            </div>
                        </div>

                        <!--
                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>学期Id</label>
                                    <input id="termId" name="termId" class="form-control"  type="text" >
                                </div>
                            </div>
                        </div>  -->
                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>课程类型</label>
                                    <select id="courseType" name="courseType" class="chosen-select" data-placeholder="请选择课程类型" disabled="disabled">
                                        <option value="1">
                                            本科生
                                        </option>
                                        <option value="2">
                                            研究生
                                        </option>
                                        <option value="3">
                                            其他
                                        </option>
                                    </select>
                                  <!--  <input id="courseType" name="courseType" class="form-control"  type="text">-->

                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>教师:</label>
                                    <input id="userName" name="userName" class="form-control"  type="text" readonly>
                                </div>
                            </div>
                        </div>
                        <!--
                        <div class="row">
                            <div class="col-sm-12">
                                <div class="form-group">
                                    <label>教师Id</label>
                                    <input id="teacherId" name="teacherId" class="form-control"  type="text">
                                </div>
                            </div>
                        </div>   -->

                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>实验室：</label>
                                    <input id="labName" name="labName" class="form-control"  type="text" readonly>
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>实验室类型：</label>
                                    <select id="labType" name="labType" class="chosen-select" data-placeholder="请选择实验室类型" >
                                        <option value="1">
                                           演示
                                        </option>
                                        <option value="2">
                                          验证
                                        </option>
                                        <option value="3">
                                            综合
                                        </option>
                                        <option value="4">
                                            设计
                                        </option>
                                        <option value="5">
                                            其它
                                        </option>
                                    </select>
                                    <!--  <input id="courseType" name="courseType" class="form-control"  type="text">-->
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-12">
                                <div class="form-group">
                                    <label>项目名：</label>
                                    <input id="projectName" name="projectName" class="form-control"  type="text" >
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>第几周：</label>
                                    <input id="week" name="week" class="form-control"  type="text" >
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>星期：</label>
                                    <input id="dayOfWeek" name="dayOfWeek" class="form-control"  type="text" placeholder="星期几">
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>具体时间：</label>
                                    <input id="courseTime" name="courseTime" class="form-control"  type="date" readonly>
                                </div>
                            </div>

                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>实验要求：</label>
                                    <select id="requestType" name="requestType" class="chosen-select" data-placeholder="请选择实验类型" >
                                        <option value="1">
                                           必修
                                        </option>
                                        <option value="2">
                                            选修
                                        </option>
                                        <option value="3">
                                            其它
                                        </option>
                                    </select>
                                </div>
                            </div>

                        </div>
                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>第几节开始：</label>
                                    <input id="sectionFrom" name="sectionFrom" class="form-control"  type="text" >
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>到：</label>
                                    <input id="sectionTo" name="sectionTo" class="form-control"  type="text" placeholder="">
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>实验室内容</label>
                                    <textarea rows="3" class="form-control" placeholder="内容，默认为实验内容" id="content" name="content"></textarea>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-12">
                                <div class="form-group">
                                    <label>建立时间</label>
                                    <input id="createTime" name="createTime" class="form-control"  type="date" readonly >
                                </div>
                            </div>
                        </div>

                    </fieldset>
                </form>

              <div class="form-group">
                    <a   class="btn btn-info btn-labeled pull-right" onclick="insertOrUpdateForm();">
                        <i class="btn-label ion-ios-checkmark"></i>提交</a>
                </div>
            </div>
        </div>
    </div>
    <!--===================================================-->
    <!--End page content-->
</div>

<div th:fragment="scripts">
    <!--如果没有内容，请保持 -->
    <script src="/plugins/ztree/js/jquery.ztree.all.js"></script>
    <script src="/js/editCommon.js"></script>
    <script src="/pagejs/lablog/labloginfo/edit.js"></script>
</div>

</html>